unit App.Action.TAppDefaultChooseActionViewOpenAction;

interface

uses SmallStruct.Action,
  App.Action.TAppCustomeAction,
  SysUtils;

type
  TAppDefaultChooseActionViewOpenAction = class(TAppCustomeAction)
  protected
    function DoPerform(ActionContext: ISSActionContext): Boolean; override;
  end;

implementation

{ TAppDefaultChooseActionViewOpenAction }

function TAppDefaultChooseActionViewOpenAction.DoPerform(ActionContext: ISSActionContext): Boolean;
begin
  ActionContext.GetResponseView.GetContext.GetParameter.AppendObject(GetRequestViewConfiguration.GetPrimaryModelName, GetRequestViewPrimaryDataModel.GetObjectInstance);
  Result := True;
end;

end.
